package com.pap.rbac.datamodule.auto.entity;

import java.io.Serializable;

import com.pap.base.entity.PapBaseEntity;
import com.pap.base.mybatis.plugin.annotation.MyBatisColumnAnnotation;
import com.pap.base.mybatis.plugin.annotation.MyBatisTableAnnotation;

@MyBatisTableAnnotation(name = "t_rbac_data_module", namespace = "com.pap.rbac.datamodule.auto.mapper.DataModuleMapper", remarks = " 修改点 ", aliasName = "t_rbac_data_module t_rbac_data_module")
public class DataModule extends PapBaseEntity implements Serializable {
	/**
	 * 编码,所属表字段为t_rbac_data_module.CODE
	 */
	@MyBatisColumnAnnotation(name = "CODE", value = "t_rbac_data_module_CODE", chineseNote = "编码", tableAlias = "t_rbac_data_module")
	private String code;

	/**
	 * 所属项目编号,所属表字段为t_rbac_data_module.PROJECT_ID
	 */
	@MyBatisColumnAnnotation(name = "PROJECT_ID", value = "t_rbac_data_module_PROJECT_ID", chineseNote = "所属项目编号", tableAlias = "t_rbac_data_module")
	private String projectId;

	/**
	 * 姓名,所属表字段为t_rbac_data_module.NAME
	 */
	@MyBatisColumnAnnotation(name = "NAME", value = "t_rbac_data_module_NAME", chineseNote = "姓名", tableAlias = "t_rbac_data_module")
	private String name;

	/**
	 * 模块域名前缀,所属表字段为t_rbac_data_module.MODULE_DOMAIN
	 */
	@MyBatisColumnAnnotation(name = "MODULE_DOMAIN", value = "t_rbac_data_module_MODULE_DOMAIN", chineseNote = "模块域名前缀", tableAlias = "t_rbac_data_module")
	private String moduleDomain;

	/**
	 * 管理人员,所属表字段为t_rbac_data_module.MANAGER
	 */
	@MyBatisColumnAnnotation(name = "MANAGER", value = "t_rbac_data_module_MANAGER", chineseNote = "管理人员", tableAlias = "t_rbac_data_module")
	private String manager;

	/**
	 * 管理人员电话,所属表字段为t_rbac_data_module.MOBILE
	 */
	@MyBatisColumnAnnotation(name = "MOBILE", value = "t_rbac_data_module_MOBILE", chineseNote = "管理人员电话", tableAlias = "t_rbac_data_module")
	private String mobile;

	/**
	 * 可用状态标识,所属表字段为t_rbac_data_module.DISABLE_FLAG
	 */
	@MyBatisColumnAnnotation(name = "DISABLE_FLAG", value = "t_rbac_data_module_DISABLE_FLAG", chineseNote = "可用状态标识", tableAlias = "t_rbac_data_module")
	private String disableFlag;

	/**
	 * 删除状态标识,所属表字段为t_rbac_data_module.DELETE_FLAG
	 */
	@MyBatisColumnAnnotation(name = "DELETE_FLAG", value = "t_rbac_data_module_DELETE_FLAG", chineseNote = "删除状态标识", tableAlias = "t_rbac_data_module")
	private String deleteFlag;

	/**
	 * 备注,所属表字段为t_rbac_data_module.REMARK
	 */
	@MyBatisColumnAnnotation(name = "REMARK", value = "t_rbac_data_module_REMARK", chineseNote = "备注", tableAlias = "t_rbac_data_module")
	private String remark;

	private static final long serialVersionUID = 1L;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getModuleDomain() {
		return moduleDomain;
	}

	public void setModuleDomain(String moduleDomain) {
		this.moduleDomain = moduleDomain;
	}

	public String getManager() {
		return manager;
	}

	public void setManager(String manager) {
		this.manager = manager;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getDisableFlag() {
		return disableFlag;
	}

	public void setDisableFlag(String disableFlag) {
		this.disableFlag = disableFlag;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String getDynamicTableName() {
		return "t_rbac_data_module";
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", code=").append(code);
		sb.append(", projectId=").append(projectId);
		sb.append(", name=").append(name);
		sb.append(", moduleDomain=").append(moduleDomain);
		sb.append(", manager=").append(manager);
		sb.append(", mobile=").append(mobile);
		sb.append(", disableFlag=").append(disableFlag);
		sb.append(", deleteFlag=").append(deleteFlag);
		sb.append(", remark=").append(remark);
		sb.append("]");
		return sb.toString();
	}
}